package cn.darkhorse.pick.pojo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采棉机预警信息对象 pick_device_warninfo
 *
 * @author ruoyi
 * @date 2021-08-16
 */
public class PickDeviceWarninfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String name;

    /** 采棉机编码 */
    @Excel(name = "采棉机编码")
    private String deviceMainCode;

    /** 籽棉包追溯码 */
    @Excel(name = "籽棉包追溯码")
    private String sampleNumber;

    /** 采棉机轨迹id */
    private String devicePath;

    /** 作业图片A */
    private String imageNamea;

    /** 作业图片B */
    private String imageNameb;

    /** 作业图片A1 */
    private String imageNamea1;

    /** 作业图片B1 */
    private String imageNameb1;

    /** 原重量 */
    @Excel(name = "原重量")
    private BigDecimal weight;

    /** 含杂率 */
    @Excel(name = "含杂率")
    private BigDecimal impurityRate;

    /** 回潮率 */
    @Excel(name = "回潮率")
    private BigDecimal moistureRegain;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 采收面积 */
    @Excel(name = "采收面积")
    private String area;

    /** 采摘时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "采摘时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date pickTime;

    /** 时间监测 */
    @Excel(name = "时间监测")
    private String timeFlag;

    /** 复采监测 */
    @Excel(name = "复采监测")
    private String repeatFlag;

    /** 混采监测 */
    @Excel(name = "混采监测")
    private String blendFlag;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 删除标识：0 存在  2  删除 */
    private String delFlag;

    /** 部门主键 */
    private Long deptId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setDeviceMainCode(String deviceMainCode)
    {
        this.deviceMainCode = deviceMainCode;
    }

    public String getDeviceMainCode()
    {
        return deviceMainCode;
    }
    public void setSampleNumber(String sampleNumber)
    {
        this.sampleNumber = sampleNumber;
    }

    public String getSampleNumber()
    {
        return sampleNumber;
    }
    public void setDevicePath(String devicePath)
    {
        this.devicePath = devicePath;
    }

    public String getDevicePath()
    {
        return devicePath;
    }
    public void setImageNamea(String imageNamea)
    {
        this.imageNamea = imageNamea;
    }

    public String getImageNamea()
    {
        return imageNamea;
    }
    public void setImageNameb(String imageNameb)
    {
        this.imageNameb = imageNameb;
    }

    public String getImageNameb()
    {
        return imageNameb;
    }
    public void setImageNamea1(String imageNamea1)
    {
        this.imageNamea1 = imageNamea1;
    }

    public String getImageNamea1()
    {
        return imageNamea1;
    }
    public void setImageNameb1(String imageNameb1)
    {
        this.imageNameb1 = imageNameb1;
    }

    public String getImageNameb1()
    {
        return imageNameb1;
    }
    public void setWeight(BigDecimal weight)
    {
        this.weight = weight;
    }

    public BigDecimal getWeight()
    {
        return weight;
    }
    public void setImpurityRate(BigDecimal impurityRate)
    {
        this.impurityRate = impurityRate;
    }

    public BigDecimal getImpurityRate()
    {
        return impurityRate;
    }
    public void setMoistureRegain(BigDecimal moistureRegain)
    {
        this.moistureRegain = moistureRegain;
    }

    public BigDecimal getMoistureRegain()
    {
        return moistureRegain;
    }
    public void setLongitude(String longitude)
    {
        this.longitude = longitude;
    }

    public String getLongitude()
    {
        return longitude;
    }
    public void setLatitude(String latitude)
    {
        this.latitude = latitude;
    }

    public String getLatitude()
    {
        return latitude;
    }
    public void setArea(String area)
    {
        this.area = area;
    }

    public String getArea()
    {
        return area;
    }
    public void setPickTime(Date pickTime)
    {
        this.pickTime = pickTime;
    }

    public Date getPickTime()
    {
        return pickTime;
    }
    public void setTimeFlag(String timeFlag)
    {
        this.timeFlag = timeFlag;
    }

    public String getTimeFlag()
    {
        return timeFlag;
    }
    public void setRepeatFlag(String repeatFlag)
    {
        this.repeatFlag = repeatFlag;
    }

    public String getRepeatFlag()
    {
        return repeatFlag;
    }
    public void setBlendFlag(String blendFlag)
    {
        this.blendFlag = blendFlag;
    }

    public String getBlendFlag()
    {
        return blendFlag;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("deviceMainCode", getDeviceMainCode())
            .append("sampleNumber", getSampleNumber())
            .append("devicePath", getDevicePath())
            .append("imageNamea", getImageNamea())
            .append("imageNameb", getImageNameb())
            .append("imageNamea1", getImageNamea1())
            .append("imageNameb1", getImageNameb1())
            .append("weight", getWeight())
            .append("impurityRate", getImpurityRate())
            .append("moistureRegain", getMoistureRegain())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("area", getArea())
            .append("pickTime", getPickTime())
            .append("timeFlag", getTimeFlag())
            .append("repeatFlag", getRepeatFlag())
            .append("blendFlag", getBlendFlag())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
